import { createApp } from 'vue'
import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

import 'vant/es/toast/style';

// # 公共样式
import "./assets/font/iconfont.css"
import "./assets/font_pack/iconfont.css"

// # vant
import { Swipe, SwipeItem, Tab, Tabs, AddressEdit, Divider, Popup, DatetimePicker, Uploader } from 'vant';


createApp(App)
    .use(createPinia().use(piniaPluginPersistedstate))
    .use(router)
    .use(Swipe)
    .use(SwipeItem)
    .use(Tab)
    .use(Tabs)
    .use(AddressEdit)
    .use(Divider)
    .use(Popup)
    .use(DatetimePicker)
    .use(Uploader)
    .mount('#app')

